package diploma.kisel.modelas.repository.api;

import java.util.List;

import diploma.kisel.modelas.domain.Device;
import diploma.kisel.modelas.domain.DeviceType;

public interface DeviceRepository {
	
	public List<Device> findAll();
	
	public List<Device> findByPrice(int minPrice, int maxPrice);
	
	public List<Device> findByPriceAndType(int minPrice, int maxPrice, DeviceType type);
	
	public Device findById(int id);
	
	public Device save(Device device);
	
	public Device update(Device device);
	
	public void remove(Device device);

}
